package cn.ultrarisk.scadmin.manager.biz.solr.dto;

import java.io.Serializable;

/**
 * ReplicaOverview
 *
 * @author sevendlong(lin23871@163.com)
 * @date 2014/6/5
 * @since V1.0
 */
public class ReplicaOverview implements Serializable {
    private static final long serialVersionUID = -7889623063496480974L;

    private Integer id;
    private String name;
    private String shard;
    private Long lastModified;
    private Long numDocs;
    private Long maxDocs;
    private Long deletedDocs;
    private Integer segmentCount;
    private Integer version;
    private String instanceDir;
    private String dataDir;
    private String directory;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getShard() {
        return shard;
    }

    public void setShard(String shard) {
        this.shard = shard;
    }

    public Long getLastModified() {
        return lastModified;
    }

    public void setLastModified(Long lastModified) {
        this.lastModified = lastModified;
    }

    public Long getNumDocs() {
        return numDocs;
    }

    public void setNumDocs(Long numDocs) {
        this.numDocs = numDocs;
    }

    public Long getMaxDocs() {
        return maxDocs;
    }

    public void setMaxDocs(Long maxDocs) {
        this.maxDocs = maxDocs;
    }

    public Long getDeletedDocs() {
        return deletedDocs;
    }

    public void setDeletedDocs(Long deletedDocs) {
        this.deletedDocs = deletedDocs;
    }

    public Integer getSegmentCount() {
        return segmentCount;
    }

    public void setSegmentCount(Integer segmentCount) {
        this.segmentCount = segmentCount;
    }

    public Integer getVersion() {
        return version;
    }

    public void setVersion(Integer version) {
        this.version = version;
    }

    public String getInstanceDir() {
        return instanceDir;
    }

    public void setInstanceDir(String instanceDir) {
        this.instanceDir = instanceDir;
    }

    public String getDataDir() {
        return dataDir;
    }

    public void setDataDir(String dataDir) {
        this.dataDir = dataDir;
    }

    public String getDirectory() {
        return directory;
    }

    public void setDirectory(String directory) {
        this.directory = directory;
    }
}
